package cn.domob.android.ads;

import android.content.Context;
import java.util.HashMap;

class t
  implements p.a
{
  protected static final String a = "http://r.domob.cn/a/";
  private static J b = new J(t.class.getSimpleName());
  private static final String f = "sdk";
  private static final String g = "rt";
  private static final String h = "ts";
  private static final String i = "ua";
  private static final String j = "ipb";
  private static final String k = "idv";
  private static final String l = "v";
  private static final String m = "sv";
  private static final String n = "l";
  private static final String o = "f";
  private static final String p = "e";
  private static final String q = "pb[identifier]";
  private static final String r = "pb[version_name]";
  private static final String s = "pb[version_code]";
  private static final String t = "apn";
  private static final String u = "network";
  private static final int v = 4;
  private p c;
  private i d;
  private Context e;

  public t(i parami, Context paramContext)
  {
    b.b("New instance of DomobExtraRequest.");
    this.d = parami;
    this.e = paramContext;
  }

  private String b()
  {
    HashMap localHashMap = new HashMap();
    localHashMap.put("sdk", String.valueOf(1));
    localHashMap.put("rt", String.valueOf(4));
    localHashMap.put("ts", String.valueOf(System.currentTimeMillis()));
    localHashMap.put("ua", q.f(this.e));
    localHashMap.put("ipb", this.d.j());
    localHashMap.put("idv", q.g(this.e));
    localHashMap.put("v", String.format("%s-%s-%s", new Object[] { "20121128", "android", "20120321" }));
    localHashMap.put("sv", "030105");
    localHashMap.put("l", "zh");
    localHashMap.put("f", "jsonp");
    localHashMap.put("e", "UTF-8");
    localHashMap.put("pb[identifier]", q.a(this.e));
    localHashMap.put("pb[version_name]", q.c(this.e));
    localHashMap.put("pb[version_code]", "" + q.b(this.e));
    localHashMap.put("network", q.p(this.e));
    return F.a(localHashMap);
  }

  protected void a()
  {
    b.b("Start to request ExtraInfo.");
    String str = b();
    b.a("ExtraInfo req string:" + str);
    this.c = new p(this.e, "http://r.domob.cn/a/", "", null, "POST", str, 20000, this);
    this.c.b();
  }

  public void a(p paramp)
  {
    String str = paramp.e();
    if (str != null)
    {
      b.b("ExtraInfo resp string:" + str);
      u.a(str, this.e);
      return;
    }
    b.b("ExtraInfo respStr is null.");
  }

  static abstract interface a
  {
    public abstract void a(l paraml, int paramInt);
  }
}

/* Location:           C:\Users\god\Desktop\liunianjishiben_V1.1_mumayi_3745b_dex2jar.jar
 * Qualified Name:     cn.domob.android.ads.t
 * JD-Core Version:    0.5.4
 */